home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / ib.781 < prev    next >
Text File  |  1992-02-06  |  3KB  |  51 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f2\fmodern Courier;\f1\fswiss Helvetica;}
  2. \paperw11040
  3. \paperh5640
  4. \margl120
  5. \margr1000
  6. {\colortbl\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs28 InterfaceBuilder AutoLoad palette bug workaround\
  8. \
  9. Q:  I have two or more Palettes that I can load automatically from 
  10. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\fc0 InterfaceBuilder
  11. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600  using the 
  12. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\fc0 InterfaceBuilder
  13. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600  Preferences window.  When I delete some of these Palettes from the 
  14. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\fc0 InterfaceBuilder
  15. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600  Preferences, they go away, and are no longer listed in the AutoLoad Palettes browser.  However, when I try to reenter 
  16. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\fc0 InterfaceBuilder
  17. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 , it displays an alert panel indicating that the palettes I didn't delete don't exist, and prevents me from using 
  18. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\fc0 InterfaceBuilder
  19. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 .  What's happening?\
  20.  \
  21. A:  When you click Add in 
  22. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\fc0 InterfaceBuilder
  23. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 's Autoload Palettes Preferences window, the name of the palette file is written into the defaults database.  However, when you click Remove, the name is not properly removed, and the database becomes inconsistent.\
  24. \
  25. To work around this bug, in a shell window enter:\
  26. \
  27.  
  28. \pard\tx1440\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\fs24\li920 localhost>
  29. \b  dremove InterfaceBuilder Palettes\
  30.  
  31. \b0 \
  32.  
  33. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\fs28 This clears 
  34. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\fc0 InterfaceBuilder
  35. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 's list of autoloadable palettes.  To reestablish the list, restart 
  36. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\fc0 InterfaceBuilder
  37. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600  and again specify which palettes should be autoloaded. \
  38. \
  39. Until this bug is fixed, a good practice is to use the autoload feature only for those palettes you know you will need frequently.  Infrequently used palettes can be loaded using the Load Palette command in 
  40. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\fc0 InterfaceBuilder
  41. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 's Tools menu.\
  42.  
  43. \fc0   \
  44. \
  45. QA781\
  46. \
  47. Not Valid for 1.0\
  48. Valid for 2.0\
  49. \
  50.  
  51.